/*******************************************************************************
 * Copyright (c) 2010 Mikhail Garber.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License (LGPL)
 * which accompanies this distribution
 * 
 * Contributors:
 *     Mikhail Garber - initial API and implementation
 ******************************************************************************/
package plumber.model;

/**
 * an Outcome that will match any return value of Step execution
 * @author mgarber
 *
 */
@SuppressWarnings("serial")
public class DefaultOutcome extends StepOutcome {

	/* (non-Javadoc)
	 * @see plumber.model.StepOutcome#validateImpl()
	 */
	@Override
	public void validateImpl() {
		
	}

	/**
	 * match any return value
	 * @see plumber.model.StepOutcome#match(java.lang.Object)
	 */
	@Override
	public boolean match(Object val) {
		return true;
	}

}
